package com.woniuxy.service;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.entity.Perms1;
import com.woniuxy.entity.Role1;
import com.woniuxy.entity.User1;

public interface User1Service {
public User1 findUserByAccount(String account);
	
	public User1 findRolesAndPerms(String account);
	public List<User1> all();
	public int addUser1AndRole1(int uid, int rid);
	public int addRole1AndPerms1( int rid,int pid);
	
}
